//
//  KHJSettingInfo.m
//  kanhujia
//
//  Created by lxl on 2018/3/27.
//  Copyright © 2018年 lxl. All rights reserved.
//

#import "KHJSettingInfo.h"

@implementation KHJSettingInfo
TYZSingleto_m(SettingInfo)
- (BOOL)notification {
    return [[TYZApplication sharedApplication] currentUserNotificationSettings].types != UIUserNotificationTypeNone;
}
- (BOOL)shutMonitorVoice {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"shutMonitorVoice"];
}
- (NSInteger)resolution {
    return [[NSUserDefaults standardUserDefaults] integerForKey:@"resolution"];
}
- (BOOL)shutBackVoice {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"shutBackVoice"];
}
- (BOOL)microphoneAdd {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"microphoneAdd"];
}
- (BOOL)recordVideo {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"recordVideo"];
}
- (BOOL)flipOverH {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"flipOverH"];
}
- (BOOL)flipOverV {
    return [[NSUserDefaults standardUserDefaults] boolForKey:@"flipOverV"];
}
@end
